<?php 
require_once 'inc/config.php';
loginout();
?>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<TITLE><?php echo $cfg_sitename."-".$cfg_sysversion;?></TITLE>
<SCRIPT language=JavaScript>
function switchSysBar()
{
   switchPoint=document.getElementById("switchPoint").innerHTML;
   if (switchPoint=='&lt;')
   {
      document.all("frameTitle").style.display="none"
	  document.getElementById("switchPoint").innerHTML='&gt;';
   }
   else
   {
      document.all("frameTitle").style.display=""
	  document.getElementById("switchPoint").innerHTML='&lt;';
   }
}
</SCRIPT>
<style>
html,body{ margin:0px; padding:0px; overflow-y:hidden;}
</style>
</HEAD>
<BODY scroll="no" topmargin="0" bottom="0" leftmargin="0" rightmargin="0">
<TABLE height="100%" cellSpacing="0" cellPadding="0" border="0" width="100%" style="background:#e1e1e1;">
  <TR>
   <TD colspan="3"><iframe style="Z-INDEX:4; VISIBILITY:inherit; WIDTH:100%; HEIGHT:55px;"
	  name="topFrame" id="topFrame" src="admin/admin_top.php" frameborder="0" noresize scrolling="no">
	</iframe></TD>
  </TR>
  <TR>
    <TD width="200" height="100%" rowspan="2" align="middle" id="frameTitle" >
    <IFRAME 
      style="Z-INDEX:2; VISIBILITY:inherit; WIDTH:200px; HEIGHT:100%;" 
      name="leftFrame" id="leftFrame"  marginWidth="0" marginHeight="0"
      src="admin/admin_sysleft.php" frameBorder="0" noResize></IFRAME>
	</TD>
    <TD width="10" height="100%" rowspan="2" align="center" bgcolor="#333333" onClick="switchSysBar()" style="cursor:pointer;">
	<FONT style="FONT-SIZE: 10px; CURSOR: hand; COLOR: #ffffff;">
	  <SPAN id="switchPoint">&lt;</SPAN></FONT>	</TD>
    <TD height="100%" valign="top">
	<iframe 
      style="Z-INDEX:4; VISIBILITY:inherit; WIDTH:100%; HEIGHT:100%;"
	  name="mainFrame" id="mainFrame" marginwidth="0" marginheight="0"
	  src="admin/admin_admin.php" frameborder="0" noresize scrolling="yes">
	</iframe>
	</TD>
  </TR>
</TABLE>
</BODY>
</HTML>